package com.cg.service;


import com.alipay.api.AlipayApiException;
import com.cg.dto.OrderManagerDto;
import com.cg.vo.OrderManagerVo;
import com.cg.vo.QueryOrderVo;

import java.util.List;
import java.util.Map;

/**
 * 订单表(DmOrder)表服务接口
 *
 * @author makejava
 * @since 2023-11-13 09:49:23
 */
public interface DmOrderService {

    //根据订单状态、订单创建时间、关键词(商品名称，订单号，商品编号模糊)
    List<OrderManagerVo> queryOrderList(OrderManagerDto orderManagerDto);


    //根据订单号查询订单
    QueryOrderVo queryOrderByOrderNo(String orderNo);


    //订单支付
    String toPay(String orderNo) throws AlipayApiException;


    //处理支付结果
    String notify(Map<String,String> params);
}
